<template>
  <div id="nav">
    <router-link to="/">Vue3 Composition Api</router-link> |
    <router-link to="/heap">Heap</router-link> |
    <router-link to="/linkedList">LinkedList</router-link> |
    <router-link to="/animation">Animation</router-link> | 
    <router-link to="/AniTest">AniTest</router-link> |
    <router-link to="/barrage">弹幕测试</router-link> |
    <router-link to="/serialPromise">SerialPromise Demo</router-link> |
    <router-link to="/jumpDemo">Jump Demo</router-link>
  </div>
  <router-view/>
</template>

<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

#nav {
  padding: 30px;

  a { 
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
